.addArticle {
  padding-right: 500px;
  padding-left: 100px;

  .addArticleDetails {
    &-Left {
      position: absolute;
      padding: 42px 30px 0;

      &-Center {
        width: 310px;
        margin: 0;
        background-color: #fff;
        box-shadow: 0 0 8px 0 rgb(229 229 229 / 50%);

        &-Title {
          height: 45px;
          padding: 10px 15px;
          color: black;

          img {
            width: 24px;
            height: 24px;
            object-fit: cover;
            overflow: hidden;
            border-radius: 50%;
          }

          a {
            margin-left: 10px;
            color: black;
            font-size: 14px;
            text-decoration: none;
          }
        }

        &-Background,
        &-BackgroundHeight {
          position: relative;
          height: 130px;
          background-color: #d3d3d3;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }

          .backgroundTitle {
            position: absolute;
            bottom: 20px;
            left: 15px;
            width: 150px;
            overflow: hidden;
            color: #fff;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }

        &-BackgroundHeight {
          border: 2px solid #07c160;
        }

        .optionsList,
        .optionsListHeight {
          height: 72px;
          padding: 12px;
          cursor: pointer;

          &-Item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;

            &-Title {
              width: 223px;
              height: 48px;
              line-height: 48px;

              span {
                display: block;
                width: 223px;
                height: 48px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
              }

              .wire {
                width: 100%;
                height: 1px;
                margin-top: 10px;
                border-bottom: 1px solid #e4e8eb;
              }
            }

            &-Img {
              width: 48px;
              height: 48px;
              background-color: #e1e1e1;

              img {
                width: 100%;
                height: 100%;
              }
            }
          }
        }

        .optionsListHeight {
          border: 2px solid #07c160;
        }

        &-Add {
          height: 90px;
          line-height: 90px;
          text-align: center;
          cursor: pointer;

          :global {
            .ant-btn {
              width: 310px;
              height: 100%;
              background-color: #fff;
              border: none;
            }
          }
        }
      }
    }
  }

  .btn {
    display: flex;
    justify-content: center;
    width: 100%;

    .submit {
      width: 100px;
      margin-top: 20px;
    }

    :global {
      .ant-btn,
      .ant-btn:hover,
      .ant-btn:focus,
      .ant-btn-focused {
        background-color: #f0f2f5;
        border: 0;
      }
    }
  }

  &-Body {
    height: 100%;
    margin-top: 17px;
    margin-left: 91px;

    &-Bac {
      display: flex;
      width: 768px;
      min-height: 560px;
      padding: 30px 95px 72px;
      background-color: #fff;

      &-Input {
        width: 100%;

        &-Div {
          :global {
            .ant-input-textarea-show-count::after {
              color: #ccc;
            }

            .ant-input {
              padding: 0;
              overflow-y: hidden;
              color: #333;
              font-size: 18px;
              border: none;
              box-shadow: none !important;

              // color: #07c160 !important;
              &:focus {
                border: none;
                box-shadow: none;
              }
            }

            textarea::-webkit-input-placeholder {
              /* WebKit browsers */
              color: #ccc;
            }

            textarea:-moz-placeholder {
              /* Mozilla Firefox 4 to 18 */
              color: #ccc;
            }

            textarea::-moz-placeholder {
              /* Mozilla Firefox 19+ */
              color: #ccc;
            }

            textarea::-ms-input-placeholder {
              /* Internet Explorer 10+ */
              color: #ccc;
            }
          }
        }

        &-Div2 {
          margin-bottom: 20px;

          span {
            color: #ccc;
          }

          :global {
            .ant-input-affix-wrapper {
              padding-top: 0;
              padding-right: 1.2%;
              padding-left: 0;
              color: #666;
              border: 0;
              border: transparent;

              &:focus,
              &:active,
              &:hover {
                border: none;
                border: transparent;
                box-shadow: none;
              }
            }

            .ant-input {
              // max-height: 20px;
              padding: 0;
              overflow-y: hidden;
              color: #666;
              font-size: 16px;
              border: transparent;
              border: none;

              &:focus,
              &:active,
              &:hover {
                border: none;
                border: transparent;
                box-shadow: none;
              }
            }
          }
        }

        &-Div3 {
          :global {
            .ant-input-textarea-show-count::after {
              color: #ccc;
            }

            .ant-input {
              padding: 0;
              overflow-y: hidden;
              color: #333;
              font-size: 16px;
              border: none;
              box-shadow: none !important;

              // color: #07c160 !important;
              &:focus {
                border: none;
                box-shadow: none;
              }
            }

            textarea::-webkit-input-placeholder {
              /* WebKit browsers */
              color: #ccc;
            }

            textarea:-moz-placeholder {
              /* Mozilla Firefox 4 to 18 */
              color: #ccc;
            }

            textarea::-moz-placeholder {
              /* Mozilla Firefox 19+ */
              color: #ccc;
            }

            textarea::-ms-input-placeholder {
              /* Internet Explorer 10+ */
              color: #ccc;
            }
          }
        }
      }
    }

    .cover {
      height: 130px;
      padding-top: 20px;
      border-top: 1px solid #ebebeb;

      &-Title {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 20px;

        &-Link {
          margin: 15px 0;

          &-Span {
            display: inline-block;
            width: 16px;
            height: 16px;
            margin-right: 10px;
            vertical-align: sub;
            border: 1px solid #d3d3d3;
          }

          img {
            display: inline-block;
            width: 20px;
            height: 20px;
          }

          div:nth-child(2) {
            margin: 10px;
          }
        }
      }

      &-Upload {
        display: flex;

        :global {
          .ant-btn {
            width: 211px;
            height: 111px;
            line-height: 90px;
            border: 2px dashed #ebebeb;
          }

          .ant-input {
            // width: 211px;
            height: 111px !important;
            margin-left: 20px;
            padding: 4px 0 20px 10px !important;
            overflow-y: auto;
            font-size: 13px !important;
            border: 1px solid #d3d3d3 !important;

            &:focus {
              border: 1px solid #d3d3d3 !important;
              box-shadow: 1px solid #d3d3d3 !important;
            }
          }

          .ant-upload-list-item-card-actions {
            display: none;
          }
        }
      }

      &-Declaration {
        display: flex;
        margin-bottom: 30px;
      }
    }
  }

  .foot {
    width: 100%;

    &-Center {
      position: fixed;
      bottom: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 768px;
      height: 71px;
      margin-left: 443px;
      padding: 0 20px;
      background-color: #fff;
      border-top: 1px solid #f1ecec;

      div:nth-child(1) {
        flex: 1;
      }

      div:nth-child(2) {
        flex: 2;
      }

      :global {
        .ant-form-item-control-input-content {
          button:nth-child(1) {
            width: 98px;
            height: 36px;
            margin: 0 12px;
            color: #fff;
            background-color: #07c160;
            border: none;

            &:focus,
            &:hover {
              background-color: #07c160;
            }
          }

          button:nth-child(2) {
            width: 98px;
            height: 36px;
            margin: 0 12px;

            &:focus,
            &:hover {
              color: #000;
              background-color: #e9e9e9;
              border: none;
            }
          }

          button:nth-child(3) {
            width: 98px;
            height: 36px;
            margin: 0 12px;

            &:focus,
            &:hover {
              color: #000;
              background-color: #e9e9e9;
              border: none;
            }
          }

          button:nth-child(4) {
            width: 98px;
            height: 36px;
            margin: 0 12px;

            &:focus,
            &:hover {
              color: #000;
              background-color: #e9e9e9;
              border: none;
            }
          }
        }
      }
    }
  }

  :global {
    .ant-form-item {
      margin: 0;
    }

    .ant-input-textarea-show-count.ant-input-textarea-in-form-item::after {
      margin: 0;
    }
  }
}
